define(function (require, exports, module) {
    "require:nomunge,exports:nomunge,module:nomunge";

    var view = require('mokit/view');
    var grid = require('mokit/grid');
    var utils = require('mokit/utils');
    var commonUtils = require('../common/utils');
    var app = require('mokit/app');
    var $ = require('mokit/jquery');

    /**
	 * 关于页视图
	 */
    return view.create({
        template: module.resovleUri('../templates/ucenter-project.html'),
        el: {
        		tabList:'.state li'
        },

        utils: commonUtils,
        config: app.config,

        /**
         * 在视图呈现时
         */
        onRender: function () {
            var self = this;
            grid.use(self.ui);
        },
        tabLabel:function(context,index){
        		var tabList = this.el.tabList;
        		tabList.removeClass('ui-selected');
        		$(tabList[index]).addClass('ui-selected');
        }
    });
});